package com.ganzalang.gmall.promotion.service.rule.condition.composite;

import com.ganzalang.gmall.promotion.dto.EnjoyConditionResult;
import com.ganzalang.gmall.promotion.dto.TargetResult;
import com.ganzalang.gmall.promotion.service.rule.condition.EnjoyConditionStrategy;

/**
 * @description:
 * @author: Ganzalang
 * @Date 2022/4/11 17:46
 */
public abstract class Component implements EnjoyConditionStrategy{

    /**
     * 判断是否满足促销活动的条件
     *
     * @param context
     * @return
     */
    @Override
    public EnjoyConditionResult validate(TargetResult context) {
        return null;
    }
}
